package rmi;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;

import messagepasser.UserInfo;

public interface Client extends Remote{
	public void newUserOnline (UserInfo u) throws RemoteException;
	public void newDocument (int docid, String docname)  throws RemoteException;
	public void userOffline (int id) throws RemoteException;
	public int getUserId () throws RemoteException;
	public void newDocUser(int userid, UserInfo u) throws RemoteException;
	public void acceptRequest(UserInfo dest) throws RemoteException;
	public void startVoiceChatReceiver(UserInfo dest)throws RemoteException;
	public void startVoiceChatTx(UserInfo dest)throws RemoteException;
}